{% if account_order_detail.order_number %}
  {% template 'account_orderdetail' ,{ account_order_detail : account_order_detail, isTemplate : true } %}
{% else %}
<div class="customer_trackingorder_default" id="customer_trackingorder">
  <div class="tracking_order_form">
    <div class="container_wrapper">
      <h1 class="title">{{lang.order.tracking_order}}</h1>
      <form onsubmit="return trackOrderSearch()">
        <input class="tracking_order_txt search_value" value="{{trackingorder.order_number}}" type="text" name="order_number">
        <input class="tracking_order_btn" type="submit" style="cursor: pointer;" value="{{lang.general.submit}}">
      </form>
    </div>
  </div>
</div>
<script>

  console.log({{order|json}})
  function trackOrderSearch() {
    const searchValue = $('.search_value').val()
    if (!searchValue) {
      return false;
    }
    return true;
  }
</script>
{% endif %}
